package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ==== 勤能补拙 ====
 *
 * @author dzz
 * @date 2025/4/21
 * <p>
 * ==== 行稳致远 进而有为 ====
 */
@Data
public class MdItemType {
    private Long itemTypeId; // item_type_id
    private String itemTypeCode; // item_type_code
    private String itemTypeName; // item_type_name
    private Long parentTypeId; // parent_type_id
    private String ancestors; // ancestors
    private String itemOrProduct; // item_or_product
    private Integer orderNum; // order_num
    private String enableFlag; // enable_flag
    private String remark; // remark
    private String attr1; // attr1
    private String attr2; // attr2
    private Integer attr3; // attr3
    private Integer attr4; // attr4
    private String createBy; // create_by
    @JsonFormat(pattern = "yyyy-MM-dd ", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    private Date createTime; // create_time
    private String updateBy; // update_by
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime; // update_time
}
